package com.huoyun.base.service;

import java.util.List;

import com.huoyun.base.bean.NodeInfo;

public interface NodeInfoService {

	public int saveNodeInfo(NodeInfo nodeInfo);

	public void update(NodeInfo nodeInfo);

	public List<NodeInfo> getNodeInfosByParentId(int parentId);

	public NodeInfo getNodeInfoById(int nodeId);

	public void delete(int nodeId);

	public List<NodeInfo> getTopNodesByMode(String modeName);

	public List<NodeInfo> getAllNodeInfos();
}
